import request from './request'
// import qs from 'qs'

export function getDeptList(params) {
	return request({
		url: '/api/xmbz-order/orderGroupLink/open/getDeptList',
		method: 'get',
		params
	})
}
export function isRange(params) {
	return request({
		url: '/api/xmbz-order/orderGroupLink/open/isRangeSecond',
		method: 'get',
		params
	})
}
export function getWarehousesByDeptIds(params) { //根据组织架构ids，查询所有仓库信息（前端传城市id）_open 接口
  return request({
    url: '/api/xmbz-order/warehouse/open/getWarehousesByDeptIds',
    method: 'get',
    params
  })
}